#ifndef MANGA_H
#define MANGA_H

#include <QObject>
#include <QString>
#include "resource.h"

class Manga : public Resource
{
public:
    Manga();
    Manga(int id,QString nom,QString adr);

    void setNom(QString nom);
    void setAdresse(QString adr);
    QString nom();
    QString adresse();
    virtual bool serialize(QXmlStreamWriter * w);
    virtual bool deserialize(QXmlStreamReader * r);
    virtual QStringList getHeaders();
    virtual QList<QTableWidgetItem*> getItems();

private:
    QString m_nom;
    QString m_adresse;

};

#endif // MANGA_H
